function [hasil,hasil2] = euler2(f,x0,y0,y1,b,h)
%EULER Fungsi menghitung nilai turunan dengan metode euler
%   
    n = (b-x0) /h;
    y = y0;
    x = x0;
    y2 = y1;
    syms a b c;
    for r=1:n
        y = y + y2*h + h* h * subs(f,[a b c],[x y y2]) / 2;
        y2 = y2 + h * subs(f,[a b c],[x y y2]);
        x = x + h;
    end
    hasil = y;
    hasil2 = y2;
end